/**
 * kl yy-ds @2021
 */
package com.cxps.server.order.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.models.auth.In;
import lombok.Data;

/**
 * 订单详细信息数据库对象
 *
 * @author YouCai.Liu
 * @since 2021/11/6
 * ...
 */
@Data
@TableName("dd_order_details")
public class OrderDetailsEntity {

    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    // 订单ID
    private String orderId;

    // 商品ID
    private String productId;

    @TableField(exist = false)
    private String productName;

    // 商品价格
    private Double productPrice;

    // 商品数量
    private Integer productNum;

    // 商品总价
    private Double totalPrice;

}
